/*
 * Food.java
 * Team qq 2011
 */
package com.google.code.timetrail.backend;

/**
 * Represents the item food food is technically consumed in pounds and is
 * reflected as such in the weight value
 * 
 * @author Steven
 * @version 1.0
 */

public class Food extends Item {
	/**
	 * the version ID of Food, CHANGE IT if control gets incompatibly changed
	 **/
	private static final long serialVersionUID = 3030L;

	/** The weight of one unit of food */
	private static final int FOOD_WEIGHT = 5;

	/** The price of one unit of food */
	private static final int FOOD_VALUE = 1;

	/** maximum number of food units in an inventory */
	private static final int FOOD_MAX = Integer.MAX_VALUE;

	/** Food's name */
	private static final String FOOD_NAME = "Food";

	/**
	 * Getter for food weight
	 * 
	 * @return the weight of one unit of food
	 */
	@Override
	public int getWeight() {
		return FOOD_WEIGHT;
	}

	/**
	 * Getter for food cost
	 * 
	 * @return the cost of one unit of food
	 */
	@Override
	public int getValue() {
		return FOOD_VALUE;
	}

	/**
	 * Getter for the max amount of food units
	 * 
	 * @return the max amount of food units allowed in an inventory
	 */
	@Override
	public int getMaxAmount() {
		return FOOD_MAX;
	}

	/**
	 * Getter for the name of a food unit
	 * 
	 * @return the name of food
	 */
	@Override
	public String getItemName() {
		return FOOD_NAME;
	}

}
